package org.sy.lab.Java7并发编程实战.四线程执行器.六在执行器中延时执行任务;

import java.util.Date;
import java.util.concurrent.Callable;

public class Task implements Callable<String> {
	private String name;
	public Task(String name) {
		this.name = name;
	}
	@Override
	public String call() throws Exception {
		System.out.printf("%s: Strating at : %s\n", name, new Date());
		return "Hello, world";
	}
}
